package com.zhisheng.gufei.user.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.zhisheng.core.dao.impl.BaseDaoHibernate;
import com.zhisheng.core.page.Page;
import com.zhisheng.core.security.entity.User;
import com.zhisheng.gufei.user.dao.UserDao;

@Repository("userDao")
public class UserDaoImpl extends BaseDaoHibernate<User, Integer> implements
		UserDao {

	@Override
	public List<User> getEnabledUser(Page<User> page) {
		this.findPageByHql("from User user where user.disabled = 1", null, page);
		return null;
	}
}
